package com.tigercar.mainbody.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tigercar.mainbody.pojo.Subject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Ruiz
 * @date 2021/4/23 10:08
 */
public interface SubjectMapper extends BaseMapper<Subject> {
    List<Subject> findSubject(
            @Param("page") Integer page,
            @Param("pageSize") Integer pageSize,
            @Param("type") Integer typeId,
            @Param("shortName") String shortName,
            @Param("number") Long number,
            @Param("province") String province,
            @Param("city") String city,
            @Param("region") String region,
            @Param("phone") String phone,
            @Param("contacts") String contacts,
            @Param("chain") Integer chain,
            @Param("status") Integer status
    );
}
